<?php
/**
 * Created by JetBrains PhpStorm.
 * User: porterzhang
 * Date: 13-3-5 下午4:44
 * To change this template use File | Settings | File Templates.
 */
if (!defined('IN_MOBILE_API')) {
    exit('Access Denied');
}
include_once 'forum.php';
class cloud_api {
    function common() { }

    function output() {
        echo "<pre>";
        echo "接收短信状态api.<br>";
        print_r($_REQUEST);
        //echo file_put_contents ( 't.txt', $_REQUEST);
        //新增
        $data = array(
            'mobile' => $_REQUEST['mobile'],
            'status' => $_REQUEST['status'],
            'REQUEST'=> serialize($_REQUEST),
        );
        //生成订单
        $res = C::t('#cloud#cloud_message_status')->insert($data);
        echo "<br>sss";
        echo $res;
        exit;

        //正常返回
        //            $variable = array(
        //                'data' => cloud_core::getvalues($area_array, array('/^\d+$/'), array('cadid', 'id', 'name', 'status', 'statusValue','starttime','endtime')),
        //            );
        //            cloud_core::result(cloud_core::variable($variable));
    }
}

?>

